package com.lazy.book.service.system;

import com.lazy.book.pojo.system.pojo.dto.sysuser.UserDeptDTO;
import com.mybatisflex.core.service.IService;
import com.lazy.book.pojo.system.pojo.po.SysUserDept;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author lay
 * @since 2025-09-05
 */
public interface SysUserDeptService extends IService<SysUserDept> {
  @Transactional
  void bind(UserDeptDTO dto);

  void unbind(List<Long> userIds);
}